package com.amigo.online.provider.user.rocketmq.config;


import org.springframework.boot.context.properties.ConfigurationProperties;

import com.amigo.online.common.param.common.MqTag;

@ConfigurationProperties("rmq")
public class RocketMqProperties {

    public static final String DEFAULT = "defaultMQProducer";

    public static final String TRANS = "transactionMQProducer";

    private String namesrv_addr = "192.168.10.223:9876";

    private String fileLoadIp = "http://192.168.10.224/";

    private String default_topic = "online_default_topic";

    private String order_topic = "online_order_topic";

    private String tag = MqTag.USER;
    /**
     * 普通生产者
     */
    private String default_producer = "online_default_user_producer";

    private String transaction_producer = "online_transaction_user_producer";
    /**
     * 普通消费者
     */
    private String default_consumer = "online_default_user_consumer";
    /**
     * 顺序消费者
     */
    private String order_consumer = "online_order_user_onsumer";

    public String getNamesrv_addr() {
        return namesrv_addr;
    }

    public void setNamesrv_addr(String namesrv_addr) {
        this.namesrv_addr = namesrv_addr;
    }

    public String getDefault_topic() {
        return default_topic;
    }

    public void setDefault_topic(String default_topic) {
        this.default_topic = default_topic;
    }

    public String getOrder_topic() {
        return order_topic;
    }

    public void setOrder_topic(String order_topic) {
        this.order_topic = order_topic;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getDefault_producer() {
        return default_producer;
    }

    public void setDefault_producer(String default_producer) {
        this.default_producer = default_producer;
    }

    public String getTransaction_producer() {
        return transaction_producer;
    }

    public void setTransaction_producer(String transaction_producer) {
        this.transaction_producer = transaction_producer;
    }

    public String getDefault_consumer() {
        return default_consumer;
    }

    public void setDefault_consumer(String default_consumer) {
        this.default_consumer = default_consumer;
    }

    public String getOrder_consumer() {
        return order_consumer;
    }

    public void setOrder_consumer(String order_consumer) {
        this.order_consumer = order_consumer;
    }

    public String getFileLoadIp() {
        return fileLoadIp;
    }

    public void setFileLoadIp(String fileLoadIp) {
        this.fileLoadIp = fileLoadIp;
    }

}
